<?php
// +----------------------------------------------------------------------
// | QSCMS
// +----------------------------------------------------------------------
// | Copyright (c)  2025 https://www.qqss.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed QSCMS is not free software, commercial use must purchase official license from official website to avoid unnecessary legal disputes.
// +----------------------------------------------------------------------
// | Author: Contract 990504246@qq.com
// +----------------------------------------------------------------------

namespace app\common\model;

use think\Model;

class OrderMaster extends Model
{
    public function getLoadModelAttr($value, $data)
    {
        $model = "app\\common\\model\\" . $data['model'];
        return $model::where(['trade_no' => $data['trade_no']])->find();
    }

}
